import Mock from 'mockjs'
Mock.mock('/mock/userinfo', function() {
    const userinfo = {
        name: '张三',
        age: 33,
        intro: '张三一笑,生死难料'
    }
    return {
        code: 20000,
        data: userinfo,
        message: 'success'
    }
})